'use strict';function _Lw(){return _8f.content.length<_8f.size}function _Bh(a){_8f=void 0===a?{content:"",size:1}:a.content?a:a.add({content:"",size:0})}_Bh(void 0);function _Sj(a){_Lw()?_Qr(_hj)(b=>{_Bh(b);a()}):a()}let _uy=_wj(function*(a){if(a-=0)return _Ud[a]||"";yield b=>_Sj(b);return _Mg(_8f.content)?_8f.content.join("\n"):_8f.content});function _Qr(a){return b=>{_So(_Xw,a,c=>b(_jd(c)))}}function _Jj(a,b){return c=>{_So(_Fr,{timeout:a,format:b},d=>c(_jd(d)))}}
function _hw(a,b,c=""){return d=>{b&&b!=_hj||(a=_Uo(a));_So(_ba,{data:a,fmt:b,[c]:!0},d)}}let _Ud={};function _Tp(a,b,c=!1,d){(a-=0)?(_Ud[a]=(c&&_Ud[a]||"")+b,d()):_hw(b,_hj,c?"append":"")(d)}function _Uo(a){return a.replace(/([^\r]|^)(?=\n)/g,"$&\r")}function _mi(a){_i(a)(b=>_hw(btoa(b.content),_Ga)())}function _jd(a){a.format==_Ga&&"string"==typeof a.content&&(a.content=atob(a.content));a.content=_Cu(a.content);return a}
var _Fs=function(a){let b=a.indexOf("\x3c!--StartFragment--\x3e");return{fragment:a.slice(b+20,a.lastIndexOf("\x3c!--EndFragment--\x3e")),sourceURL:(a.slice(0,b).match(/SourceURL:([^\n\r]+)/i)||[,""])[1]}},_hy=function(a,b,c=""){a=_uu(`Version:0.9\nStartHTML:${"@*$&^HTML1"}\nEndHTML:${"@*$&^HTML2"}\nStartFragment:${"@*$&^FRAG1"}\nEndFragment:${"@*$&^FRAG2"}\n${b?"SourceURL:"+b:""}\n<html><head>${c}</head>\n${"<body>\x3c!--StartFragment--\x3e"}${a}${"\x3c!--EndFragment--\x3e</body></html>"}`,"UTF-8",
!1);b=a.indexOf("<body>\x3c!--StartFragment--\x3e");c=a.lastIndexOf("\x3c!--EndFragment--\x3e</body></html>")-1;return _Cw(a,"UTF-8").replace("@*$&^HTML1",("0000000000"+b).slice(-10)).replace("@*$&^HTML2",("0000000000"+(c+32)).slice(-10)).replace("@*$&^FRAG1",("0000000000"+(b+26)).slice(-10)).replace("@*$&^FRAG2",("0000000000"+c).slice(-10))};
